import React from 'react';

export default class Wife extends React.Component {
  render() {
    console.log('this.props----->', this.props);
    return (
      <div>
        <h3>丈夫组件</h3>
        <div>{this.props.money}</div>
        <button onClick={this.props.handleMakeMoney}>老公赚钱</button>
      </div>
    );
  }
}
